Interactive technique for using a user-provided image of a document to collect information

ABSTRACT

In a collection technique, a user (such as a taxpayer) provides information (such as income-tax information) by submitting an image of a document, such as an income-tax summary or form. In particular, the user may provide a description of the document. In response, the user is prompted for the information associated with the field in the document. Then, the user provides the image of a region in the document that includes the field. Based on the image, the information is extracted, and the field in the form is populated using the extracted information. The prompting, receiving, extracting and populating operations may be repeated for one or more additional fields in the document.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of pending U.S. patent application Ser. No. 13/195,298, filed on Aug. 1, 2011, which is herein incorporated by reference in its entirety.

BACKGROUND

The present disclosure relates to techniques for collecting information from a user.

Existing software programs often collect information either directly or indirectly from users. For example, in existing income-tax programs, which facilitate income-tax preparation, a user may provide income-tax information from forms (such as a W-2 form) by typing it in manually. Alternatively, the user may provide credential information (such as a user name and password) that allows the income-tax information to be downloaded from a payroll company's server. However, this indirect collection technique is not available for many users.

Manually providing income-tax information is a time-consuming and laborious process. Furthermore, because users don't know which data on a given form is relevant, they often provide all the information on the form, which results in wasted effort. In addition, manually provided income-tax information often contains errors that can cause mistakes in users' income-tax returns. However, requiring users to validate all of the data they have provided (such as all of the fields in a W-2 form) is also a time-consuming and laborious process, and the user may not detect all of the errors.

As a consequence, manual entry of information can adversely impact the user experience, and can result in errors. Consequently, manual entry can reduce: customer satisfaction, customer retention, and sales of software programs.

SUMMARY

The disclosed embodiments relate to an electronic device that populates a field in a form. During operation, the electronic device receives a description of a document from a user. In response, the electronic device prompts the user for information associated with a field in the document. Then, the electronic device receives an image of a region in the document that includes the field from the user. Moreover, the electronic device extracts the information from the image of the region, and populates the field in the form based on the extracted information.

Note that the document may include an income-tax form. More generally, the document includes a form having an official format, such as that specified by a business or a government agency. However, in some embodiments the document is an arbitrary document (and may not have a predefined format).

Moreover, when prompting the user, the electronic device may display a template of fields in the document and request that the user provide the image of the field.

Furthermore, the image may include a digital photograph. Alternatively, the image may include a real-time video stream provided by an imaging device.

In some embodiments, the image includes multiple fields and, when extracting the information, the electronic device may: capture a set of information associated with the fields; identify the field based on descriptive information proximate to the field; and select a subset of the set of information that includes the information. Note that, if the computer is unable to identify the field, the electronic device may prompt the user to identify the field from the multiple fields.

Additionally, extracting the information may involve optical character recognition. For example, the optical character recognition may include a radial image analysis technique that identifies a boundary of the field in the region.

In some embodiments, the electronic device repeats the prompting, receiving, extracting and populating operations for one or more additional fields in the document.

Another embodiment provides a method that includes at least some of the operations performed by the electronic device.

Another embodiment provides a computer-program product for use with the electronic device. This computer-program product includes instructions for at least some of the operations performed by the electronic device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow chart illustrating a method for populating a field in a form in accordance with an embodiment of the present disclosure.

FIG. 2A is a flow chart illustrating the method of FIG. 1 in accordance with an embodiment of the present disclosure.

FIG. 2B is a flow chart illustrating the method of FIG. 1 in accordance with an embodiment of the present disclosure.

FIG. 3 is a block diagram illustrating extraction of information from an image of a region in a document in accordance with an embodiment of the present disclosure.

FIG. 4 is a block diagram illustrating a computer system that performs the method of FIG. 1 in accordance with an embodiment of the present disclosure.

FIG. 5 is a block diagram illustrating an electronic device that performs the method of FIG. 1 in accordance with an embodiment of the present disclosure.

FIG. 6 is a block diagram illustrating a data structure for use in the electronic device of FIG. 5 in accordance with an embodiment of the present disclosure.

Note that like reference numerals refer to corresponding parts throughout the drawings. Moreover, multiple instances of the same part are designated by a common prefix separated from an instance number by a dash.

DETAILED DESCRIPTION

Embodiments of an electronic device, a technique for populating a field in a form, and a computer-program product (e.g., software) for use with the electronic device are described. This collection technique allows a user (such as a taxpayer) to provide information (such as income-tax information) by submitting an image of a document, such as an income-tax summary or form. In particular, the user may provide a description of the document. In response, the user is prompted for the information associated with the field in the document. Then, the user provides the image of a region in the document that includes the field. Based on the image, the information is extracted, and the field in the form is populated using the extracted information. The prompting, receiving, extracting and populating operations may be repeated for one or more additional fields in the document.

By facilitating collection of the information, this collection technique may make it easier for users to accurately and efficiently complete forms. For example, in income-tax programs, the user may not have to manually provide the income-tax information. Alternatively, the user may only have to validate a subset of the income-tax information (as opposed to all of the income-tax information). This capability may: reduce mistakes in completing the forms (such as those associated with income-tax returns), increase sales, improve customer satisfaction and/or increase customer retention.

In the discussion that follows, the users may include a variety of entities, such as: an individual, an organization, a business and/or a government agency. Furthermore, a ‘business’ should be understood to include: for-profit corporations, non-profit corporations, organizations, groups of individuals, sole proprietors, government agencies, partnerships, etc.

We now describe embodiments of the collection technique. FIG. 1 presents a flow chart illustrating a method 100 for populating a field in a form, which may be performed by an electronic device, such as electronic device 500 in FIG. 5. During operation, the electronic device receives a description of a document from a user (operation 110). This may involve the user specifying the document, for example, by selecting a document name or number from a list of predefined documents. Note that the document may include an income-tax form that includes a summary of the income-tax information of the user during a time interval (such as a quarter or a year). For example, the document may include a W-2 form. More generally, the document includes a form having an official format, such as that specified by a business or a government agency. However, in some embodiments the document is an arbitrary document (and may not have a predefined format), such as a handwritten note.

In response, the electronic device prompts the user for information (such as the user's name, address, phone number, a dollar amount, etc.) associated with a field in the document (operation 112). For example, when prompting the user, the electronic device may display a template of fields in the document and may request that the user provide the image of the field.

Then, the electronic device receives an image of a region in the document that includes the field from the user (operation 114). Furthermore, the image may include a digital photograph, such as an image that is captured using an imaging device (such as a digital camera) on a portable electronic device (e.g., a cellular telephone). Alternatively, the image may include a real-time video stream provided by the imaging device. (Thus, in some embodiments the user need not take a permanent picture of the region. Instead, the imaging device may be used in a ‘video mode’ to provide a continuously updated image.)

Moreover, the electronic device extracts the information from the image of the region (operation 116), and populates the field in the form based on the extracted information (operation 118). In this way, the electronic device can be used as a field-by-field scanner. Moreover, the collection technique can, therefore, reduce or eliminate the need for the user to manually enter the information.

Note that extracting the information may involve optical character recognition or OCR (such as FlexiCapture OCR software from ABBYY Software House, Inc. of Moscow, Russia) and/or intelligent character recognition. For example, the optical character recognition may include a radial image analysis technique that identifies a boundary of the field in the region. Furthermore, in some embodiments an accelerometer or a position sensor in the electronic device is used to determine the field in the document in which the user is interested.

In some embodiments, the electronic device optionally repeats (operation 120) the prompting, receiving, extracting and populating operations for one or more additional fields in the document.

In some embodiments, the image includes multiple fields and, when extracting the information, the electronic device may: capture a set of information associated with the fields; identify the field based on descriptive information adjacent or proximate to the field; and select a subset of the set of information that includes the information. For example, the information adjacent or proximate to the field may include a text description of the field. Note that, if the computer is unable to identify the field, the electronic device may prompt the user to identify the field from the multiple fields.

In an exemplary embodiment, the collection technique is implemented using an electronic device (such as a client computer or a portable electronic device) and at least one server, which communicate through a network, such as the Internet (i.e., using a client-server architecture). This is illustrated in FIG. 2A, which presents a flow chart illustrating method 100. During this method, a user may provide a description of a document that is received by electronic device 210 (operation 214). This description may be subsequently provided to (operation 216) and received by server 212 (operation 218). In response, server 212 may prompt the user for information associated with a field in the document (operation 220). This prompt may be received and displayed by electronic device 210 (operation 222).

Then, the user may use electronic device 210 to acquire an image of a region in the document that includes the field (operation 224), for example, using a digital camera included in electronic device 210. This image may be provided to (operation 226) and received by server 212 (operation 228).

Server 212 may extract the information from the image of the region (operation 230), and may populate the field in the form based on the extracted information (operation 232).

Alternatively, in another exemplary embodiment, the collection technique is implemented using an electronic device (such as a client computer or a portable electronic device). This is illustrated in FIG. 2B, which presents a flow chart illustrating method 100. During this method, a user may provide a description of a document that is received by electronic device 210 (operation 214). In response, electronic device 210 may prompt the user for information associated with a field in the document (operation 250). For example, electronic device 210 may display the prompt on a display associated with electronic device 210.

Then, the user may use electronic device 210 to acquire an image of a region in the document that includes the field (operation 224), for example, using a digital camera included in electronic device 210.

Electronic device 210 may extract the information from the image of the region (operation 252), and may populate the field in the form based on the extracted information (operation 254).

In some embodiments of method 100 (FIGS. 1, 2A and 2B), there may be additional or fewer operations. Moreover, the order of the operations may be changed, and/or two or more operations may be combined into a single operation.

In an exemplary embodiment, the user indicates that the document is a W-2 form. In response, the user is prompted to provide the information in Box 1 (‘Wages, tips, other compensation’).

Based on the prompt, the user takes a picture of a region on the W-2 form that includes Box 1. The information is extracted from the picture using OCR. As shown in FIG. 3, which illustrates extraction of information (i.e., ‘$45,000’) from an image 300 of a region 310 in a document, this may involve a radial image analysis technique that identifies a boundary 312 of Box 1 in region 310. For example, in the radial image analysis technique boundary 312 may be identified by starting at a center or internal location inside of boundary 312 and radially moving outward until a meaningful perimeter (i.e., boundary 312) is found (such as a whitespace, a line, etc.).

Once boundary 312 is identified, image 300 may be cropped and fed into an OCR engine to extract the information. Next, a field in an income-tax form may be populated with the extracted information.

We now describe embodiments of the electronic device and the computer system and their use. FIG. 4 presents a block diagram illustrating a computer system 400 that performs method 100 (FIGS. 1, 2A and 2B). In this system, a user of electronic device 210 may use a software program or software, such as income-tax software. This software may be a stand-alone application or a portion of another application that is resident on and which executes on electronic device 210 (such as financial software that is provided by server 212 or that is installed and which executes on electronic device 210).

In some embodiments, at least a portion of the software may be an application tool that is embedded in the web page (and which executes in a virtual environment of the web browser). In an illustrative embodiment, the application tool is a software package written in: JavaScript™ (a trademark of Oracle Corporation), e.g., the application tool includes programs or procedures containing JavaScript instructions, ECMAScript (the specification for which is published by the European Computer Manufacturers Association International), VBScript™ (a trademark of Microsoft Corporation) or any other client-side scripting language. In other words, the embedded application tool may include programs or procedures containing: JavaScript, ECMAScript instructions, VBScript instructions, or instructions in another programming language suitable for rendering by the web browser or another client application (such as on electronic device 210). Thus, the application tool maybe provided to the user via a client-server architecture. In particular, instructions for the web page may be provided by server 212 to electronic device 210 via network 412.

As discussed previously, the user may provide a description of a document to the software on electronic device 210. In response, the software may prompt the user for information associated with a field in the document, for example, based on a stored template of the fields in the document.

Then, the user may use electronic device 210 to take an image of a region in the document that includes the field, for example, using a digital camera included in electronic device 210.

Next, the software may extract the information from the image of the region (for example, using an extraction engine or module, such as an OCR engine), and may populate the field in the form based on the extracted information.

Note that the information in computer system 400 (such as predefined templates for income-tax return forms) may be stored at one or more locations in computer system 400 (i.e., locally or remotely). Moreover, because this information may be sensitive in nature, it may be encrypted. For example, stored information and/or information communicated via network 412 may be encrypted.

FIG. 5 presents a block diagram illustrating an electronic device 500 that performs method 100 (FIGS. 1, 2A and 2B), such as electronic device 210 (FIGS. 2A, 2B and 4). Electronic device 500 includes one or more processing units or processors 510, a communication interface 512, a user interface 514, and one or more signal lines 522 coupling these components together. Note that the one or more processors 510 may support parallel processing and/or multi-threaded operation, the communication interface 512 may have a persistent communication connection, and the one or more signal lines 522 may constitute a communication bus. Moreover, the user interface 514 may include: a display 516 (such as a touch-sensitive display), a keyboard 518, and/or a pointer 520, such as a mouse.

Memory 524 in electronic device 500 may include volatile memory and/or non-volatile memory. More specifically, memory 524 may include: ROM, RAM, EPROM, EEPROM, flash memory, one or more smart cards, one or more magnetic disc storage devices, and/or one or more optical storage devices. Memory 524 may store an operating system 526 that includes procedures (or a set of instructions) for handling various basic system services for performing hardware-dependent tasks. Memory 524 may also store procedures (or a set of instructions) in a communication module 528. These communication procedures may be used for communicating with one or more computers and/or servers, including computers and/or servers that are remotely located with respect to electronic device 500.

Memory 524 may also include multiple program modules (or sets of instructions), including: software 530 (or a set of instructions), extraction module 532 (or a set of instructions), analysis module 534 (or a set of instructions), and/or encryption module 536 (or a set of instructions). Note that one or more of these program modules (or sets of instructions) may constitute a computer-program mechanism.

During method 100 (FIG. 1), the user may provide a description 538 of a document 540. In response, software 530 may prompt the user for information 542 associated with a field (such as one of fields 546) in document 540. For example, when prompting the user, software 530 may display one of templates 544 of fields 546 in document 540 on display 516 and may request that the user provide an image of the field.

An example of stored templates 544 is shown in FIG. 6, which presents a data structure 600. In particular, data structure 600 may include templates 544. For example, template 544-1 may include: a document 610-1 (such as a form), fields 612-1, and/or associated descriptive information 614-1 that is adjacent or proximate to fields 612-1 in document 610-1.

Referring back to FIG. 5, based on the prompt the user may acquire an image 550 of a region in document 540 that includes the field using an imaging device 508. Next, extraction module 532 may extract information 542 from image 550 of the region, and software 530 may populate one or more fields 552 in form 554 based on extracted information 542. Note that extracting information 542 may involve OCR, intelligent character recognition and/or a radial image analysis technique that identifies a boundary 548 of the field in the region.

In some embodiments, image 550 includes multiple fields 546 and, when extracting the information, electronic device 500 may capture a set of information 556 associated with fields 546. Then, analysis module 534 may identify the field based on descriptive information 558 adjacent or proximate to the field, and may select a subset 560 of set of information 556 that includes information 542. Note that, if analysis module 534 is unable to identify the field, software 530 may prompt the user to identify the field from fields 546.

Furthermore, because information 542 may be sensitive in nature, in some embodiments at least some of the information stored in memory 524 and/or at least some of the information communicated using communication module 528 is encrypted using encryption module 536. Additionally, in some embodiments one or more of the modules in memory 524 may be included in software 530.

Instructions in the various modules in memory 524 may be implemented in: a high-level procedural language, an object-oriented programming language, and/or in an assembly or machine language. Note that the programming language may be compiled or interpreted, e.g., configurable or configured, to be executed by the one or more processors 510.

Although electronic device 500 is illustrated as having a number of discrete items, FIG. 5 is intended to be a functional description of the various features that may be present in electronic device 500 rather than a structural schematic of the embodiments described herein. In practice, and as recognized by those of ordinary skill in the art, the functions of electronic device 500 may be distributed over a large number of servers or computers, with various groups of the servers or computers performing particular subsets of the functions. In some embodiments, some or all of the functionality of electronic device 500 may be implemented in one or more application-specific integrated circuits (ASICs) and/or one or more digital signal processors (DSPs).

Electronic devices and servers in computer system 400 (FIG. 4) and/or electronic device 500 may include one of a variety of devices capable of manipulating computer-readable data or communicating such data between two or more computing systems over a network, including: a personal computer, a laptop computer, a mainframe computer, a portable electronic device (such as a cellular phone or PDA), a server, a tablet computer, and/or a client computer (in a client-server architecture). Moreover, network 412 (FIG. 4) may include: the Internet, World Wide Web (WWW), an intranet, LAN, WAN, MAN, or a combination of networks, or other technology enabling communication between computing systems.

In exemplary embodiments, software 530 includes financial software, such as: Quicken™ and/or TurboTax™ (from Intuit, Inc., of Mountain View, Calif.), Microsoft Money™ (from Microsoft Corporation, of Redmond, Wash.), SplashMoney™ (from SplashData, Inc., of Los Gatos, Calif.), Mvelopes™ (from In2M, Inc., of Draper, Utah), and/or open-source applications such as Gnucash™, PLCash™, Budget™ (from Snowmint Creative Solutions, LLC, of St. Paul, Minn.), and/or other planning software capable of processing financial information.

Moreover, the financial software may include: QuickBooks™ (from Intuit, Inc., of Mountain View, Calif.), Peachtree™ (from The Sage Group PLC, of Newcastle Upon Tyne, the United Kingdom), Peachtree Complete™ (from The Sage Group PLC, of Newcastle Upon Tyne, the United Kingdom), MYOB Business Essentials™ (from MYOB US, Inc., of Rockaway, N.J.), NetSuite Small Business Accounting™ (from NetSuite, Inc., of San Mateo, Calif.), Cougar Mountain™ (from Cougar Mountain Software, of Boise, Id.), Microsoft Office Accounting™ (from Microsoft Corporation, of Redmond, Wash.), Simply Accounting™ (from The Sage Group PLC, of Newcastle Upon Tyne, the United Kingdom), CYMA IV Accounting™ (from CYMA Systems, Inc., of Tempe, Ariz.), DacEasy™ (from Sage Software SB, Inc., of Lawrenceville, Ga.), Microsoft Money™ (from Microsoft Corporation, of Redmond, Wash.), Tally.ERP (from Tally Solutions, Ltd., of Bangalore, India) and/or other payroll or accounting software capable of processing payroll information.

Image 300 (FIG. 3), computer system 400 (FIG. 4), and/or electronic device 500 may include fewer components or additional components. Moreover, two or more components may be combined into a single component, and/or a position of one or more components may be changed. In some embodiments, the functionality of computer system 400 (FIG. 4) and/or electronic device 500 may be implemented more in hardware and less in software, or less in hardware and more in software, as is known in the art.

The foregoing description is intended to enable any person skilled in the art to make and use the disclosure, and is provided in the context of a particular application and its requirements. Moreover, the foregoing descriptions of embodiments of the present disclosure have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present disclosure to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present disclosure. Additionally, the discussion of the preceding embodiments is not intended to limit the present disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein. 

What is claimed is:
 1. A method comprising: receiving a description of a physical document from a computing device; providing a prompt to the computing device that requests capturing an image of the physical document that includes data corresponding to a field in a form; receiving, based on the prompt, the image from the computing device of the physical document that includes the data; extracting the data from the image; and populating the extracted data into the corresponding field in the form.
 2. The method of claim 1, further comprises: providing a list of physical documents, wherein each physical document in the list includes a predefined format.
 3. The method of claim 2, wherein receiving the description of the physical document includes receiving a selection from the list of physical documents with the predefined format.
 4. The method of claim 2, further comprises: retrieving a set of templates that correspond to the predefined format of the physical document.
 5. The method of claim 4, wherein the prompt includes at least one template of the set of templates.
 6. The method of claim 1, wherein the image includes a real-time video steam.
 7. The method of claim 1, wherein the extracting the data includes a radial image analysis technique.
 8. A system, comprising: a processor; and a memory storing instructions, which when executed by the processor perform a method comprising: receiving a description of a physical document from a computing device; providing a prompt to the computing device that requests capturing an image of the physical document that includes data corresponding to a field in a form; receiving, based on the prompt, the image from the computing device of the physical document that includes the data; extracting the data from the image; and populating the extracted data into the corresponding field in the form.
 9. The system of claim 8, wherein the method further comprises: providing a list of physical documents, wherein each physical document in the list includes a predefined format.
 10. The system of claim 9, wherein receiving the description of the physical document includes receiving a selection from the list of physical documents with the predefined format.
 11. The system of claim 9, wherein the method further comprises: retrieving a set of templates that correspond to the predefined format of the physical document.
 12. The system of claim 11, wherein the prompt includes at least one template of the set of templates.
 13. The system of claim 8, wherein the image includes a real-time video steam.
 14. The system of claim 8, wherein the extracting the data includes a radial image analysis technique.
 15. A non-transitory computer readable storage medium comprising instructions, which when executed by a processor of a computing device, cause the computing device to perform a method comprising: receiving a description of a physical document from a computing device; providing a prompt to the computing device that requests capturing an image of the physical document that includes data corresponding to a field in a form; receiving, based on the prompt, the image from the computing device of the physical document that includes the data; extracting the data from the image; and populating the extracted data into the corresponding field in the form.
 16. The non-transitory computer readable storage medium of claim 15, wherein the method further comprises: providing a list of physical documents, wherein each physical document in the list includes a predefined format.
 17. The non-transitory computer readable storage medium of claim 16, wherein receiving the description of the physical document includes receiving a selection from the list of physical documents with the predefined format.
 18. The non-transitory computer readable storage medium of claim 16, wherein the method further comprises: retrieving a set of templates that correspond to the predefined format of the physical document.
 19. The non-transitory computer readable storage medium of claim 18, wherein the prompt includes at least one template of the set of templates.
 20. The non-transitory computer readable storage medium of claim 15, wherein the image includes a real-time video steam. 